package com.vilynn.learning.study.yaml;

import org.yaml.snakeyaml.Yaml;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;

/**
 * Created by weilin.wang on 2017/6/5
 */
public class TestYaml {

    public static void main(String[] args) throws IOException {
        Yaml yaml = new Yaml();
        InputStream is = new FileInputStream("E:\\projects\\onlineorder\\onlineorder-web\\src\\test\\java\\com\\weimob\\onlineorder\\web\\test.yaml");
        Object obj = yaml.load(is);

        System.out.println(obj);



    }
}
